# 数据库
HOSTNAME = '139.9.38.250'
USERNAME = 'PricePrediction'
PASSWORD = '6SWmDJyRzk3zKshc'
PORT = '3306'
DATABASE = 'PricePrediction'

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_ENGINE_OPTIONS = {
    'echo': False,
    'pool_size': 10,
    'max_overflow': 20,
    'pool_recycle': 60,
    'pool_timeout': 30,
    'pool_pre_ping': True
}

JSON_AS_ASCII = False
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECRET_KEY = 'jbwkb34asv64462342523b5sageege1sads4435a515'

# MAX_CONTENT_LENGTH = 16 * 1024 * 1024
